<me:UIVV x:Class="WPFExcelReport.TPFVV08"
                    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
                    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
                    xmlns:ucd="clr-namespace:ReflectionStudio.Controls;assembly=ReflectionStudio.Controls"     
                    xmlns:me="clr-namespace:WPFExcelReport" 
                    xmlns:ex="clr-namespace:WPFExcelReport.Controls;assembly=ExControls"
                    xmlns:T="clr-namespace:WPFExcelReport;assembly=IntexBL"    
                    xmlns:KR="clr-namespace:WPFExcelReport;assembly=TKUNDADR"   
                    xmlns:VP="clr-namespace:WPFExcelReport;assembly=TVVPACK" 
                    xmlns:Localization="clr-namespace:Localization;assembly=Localization"
                     x:Name="TV"
                    Loaded="Window_Loaded"
     >
    <me:UIVV.Resources>
        <CollectionViewSource  x:Key="vwMaster" /> 
        <ucd:Divideby10  x:Key="d10"/>
        <ucd:BoolToVisibilityConverter  x:Key="bv"/>
        <ucd:Divideby100  x:Key="d100"/> 
        <ucd:Divideby1000  x:Key="d1000"/> 
        <ucd:PNumConverter  x:Key="pnum"/>
        <ucd:TextTrimmingConverter  x:Key="Trim"/>
        <ucd:GB2312Convert8859P1  x:Key="gb2312"/>
    </me:UIVV.Resources>
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto"></RowDefinition>
            <RowDefinition Height="1*"></RowDefinition>
        </Grid.RowDefinitions>
        <WrapPanel Grid.Row="0" >
            <KR:TKAD06 LIEFSCH="{Binding LIEFSCH,ElementName=TV,Mode=TwoWay}"/>
            <Grid Margin="10,0,0,0">
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="Auto"></ColumnDefinition>
                    <ColumnDefinition Width="Auto"></ColumnDefinition>
                </Grid.ColumnDefinitions>
                <TextBlock   Grid.Column="0" Text="{Binding Source={Localization:Translate Word=状态:}}"></TextBlock>
                <TextBox Grid.Column="1"  CharacterCasing="Upper"   Text="{Binding VVSTATUS, Source={StaticResource ResourceKey=vwMaster}}" Width="30" />
            </Grid>
            <Grid Margin="10,0,0,0">
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="Auto"></ColumnDefinition>
                    <ColumnDefinition Width="Auto"></ColumnDefinition>
                </Grid.ColumnDefinitions>
                <TextBlock   Grid.Column="0" Text="{Binding Source={Localization:Translate Word=KG:}}"></TextBlock>
                <TextBox Grid.Column="1"  CharacterCasing="Upper"   Text="{Binding VVNETTO, Source={StaticResource ResourceKey=vwMaster},Converter={StaticResource ResourceKey=d100}}" Width="Auto" />
            </Grid>
        </WrapPanel>
        <VP:TGV02 Grid.Row="1" LIEFSCH="{Binding LIEFSCH,ElementName=TV}"/>
    </Grid>
</me:UIVV> 
 
